package com.util.过滤器;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: sun.hongliang
 * @create: 2019/09/17 16:00
 */
public class Main {
    public static void main(String[] args) {
        Filter spamFilter1 = new SpamFilter();
        Filter spamFilter2 = new SpamFilter();
        Filter filter = new FilterChain(spamFilter1, spamFilter2);

        List filter1 = filter.filter(new ArrayList());
    }
}
